<?php


namespace app\api\controller;


use think\Console;
use think\facade\Cache;
use Zewail\Api\Facades\Response as ApiResponse;

/**
 * Class Base
 * @package app\api\controller
 * 后台通用操作的方法
 */
class Base
{
    public function clearCache(){
        ;
        $data["code"]=200;
        $data["message"]=Console::call("clear")->fetch();
        return ApiResponse::OK($data);

    }
}